Integrand size = 23, antiderivative size = 169 \[ \int \frac {x^2 \left (a+b \log \left (c x^n\right )\right )}{\sqrt {d+e x}} \, dx=-\frac {32 b d^2 n \sqrt {d+e x}}{15 e^3}+\frac {28 b d n (d+e x)^{3/2}}{45 e^3}-\frac {4 b n (d+e x)^{5/2}}{25 e^3}+\frac {32 b d^{5/2} n \text {arctanh}\left (\frac {\sqrt {d+e x}}{\sqrt {d}}\right )}{15 e^3}+\frac {2 d^2 \sqrt {d+e x} \left (a+b \log \left (c x^n\right )\right )}{e^3}-\frac {4 d (d+e x)^{3/2} \left (a+b \log \left (c x^n\right )\right )}{3 e^3}+\frac {2 (d+e x)^{5/2} \left (a+b \log \left (c x^n\right )\right )}{5 e^3} \]
[Out]
Time = 0.11 (sec) , antiderivative size = 169, normalized size of antiderivative = 1.00, number of steps used = 6, number of rules used = 6, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.261, Rules used = {45, 2392, 12, 911, 1275, 214} \[ \int \frac {x^2 \left (a+b \log \left (c x^n\right )\right )}{\sqrt {d+e x}} \, dx=\frac {2 d^2 \sqrt {d+e x} \left (a+b \log \left (c x^n\right )\right )}{e^3}-\frac {4 d (d+e x)^{3/2} \left (a+b \log \left (c x^n\right )\right )}{3 e^3}+\frac {2 (d+e x)^{5/2} \left (a+b \log \left (c x^n\right )\right )}{5 e^3}+\frac {32 b d^{5/2} n \text {arctanh}\left (\frac {\sqrt {d+e x}}{\sqrt {d}}\right )}{15 e^3}-\frac {32 b d^2 n \sqrt {d+e x}}{15 e^3}+\frac {28 b d n (d+e x)^{3/2}}{45 e^3}-\frac {4 b n (d+e x)^{5/2}}{25 e^3} \]
[In]
[Out]
Rule 12
Rule 45
Rule 214
Rule 911
Rule 1275
Rule 2392
Rubi steps \begin{align*} \text {integral}& = \frac {2 d^2 \sqrt {d+e x} \left (a+b \log \left (c x^n\right )\right )}{e^3}-\frac {4 d (d+e x)^{3/2} \left (a+b \log \left (c x^n\right )\right )}{3 e^3}+\frac {2 (d+e x)^{5/2} \left (a+b \log \left (c x^n\right )\right )}{5 e^3}-(b n) \int \frac {2 \sqrt {d+e x} \left (8 d^2-4 d e x+3 e^2 x^2\right )}{15 e^3 x} \, dx \\ & = \frac {2 d^2 \sqrt {d+e x} \left (a+b \log \left (c x^n\right )\right )}{e^3}-\frac {4 d (d+e x)^{3/2} \left (a+b \log \left (c x^n\right )\right )}{3 e^3}+\frac {2 (d+e x)^{5/2} \left (a+b \log \left (c x^n\right )\right )}{5 e^3}-\frac {(2 b n) \int \frac {\sqrt {d+e x} \left (8 d^2-4 d e x+3 e^2 x^2\right )}{x} \, dx}{15 e^3} \\ & = \frac {2 d^2 \sqrt {d+e x} \left (a+b \log \left (c x^n\right )\right )}{e^3}-\frac {4 d (d+e x)^{3/2} \left (a+b \log \left (c x^n\right )\right )}{3 e^3}+\frac {2 (d+e x)^{5/2} \left (a+b \log \left (c x^n\right )\right )}{5 e^3}-\frac {(4 b n) \text {Subst}\left (\int \frac {x^2 \left (15 d^2-10 d x^2+3 x^4\right )}{-\frac {d}{e}+\frac {x^2}{e}} \, dx,x,\sqrt {d+e x}\right )}{15 e^4} \\ & = \frac {2 d^2 \sqrt {d+e x} \left (a+b \log \left (c x^n\right )\right )}{e^3}-\frac {4 d (d+e x)^{3/2} \left (a+b \log \left (c x^n\right )\right )}{3 e^3}+\frac {2 (d+e x)^{5/2} \left (a+b \log \left (c x^n\right )\right )}{5 e^3}-\frac {(4 b n) \text {Subst}\left (\int \left (8 d^2 e-7 d e x^2+3 e x^4+\frac {8 d^3}{-\frac {d}{e}+\frac {x^2}{e}}\right ) \, dx,x,\sqrt {d+e x}\right )}{15 e^4} \\ & = -\frac {32 b d^2 n \sqrt {d+e x}}{15 e^3}+\frac {28 b d n (d+e x)^{3/2}}{45 e^3}-\frac {4 b n (d+e x)^{5/2}}{25 e^3}+\frac {2 d^2 \sqrt {d+e x} \left (a+b \log \left (c x^n\right )\right )}{e^3}-\frac {4 d (d+e x)^{3/2} \left (a+b \log \left (c x^n\right )\right )}{3 e^3}+\frac {2 (d+e x)^{5/2} \left (a+b \log \left (c x^n\right )\right )}{5 e^3}-\frac {\left (32 b d^3 n\right ) \text {Subst}\left (\int \frac {1}{-\frac {d}{e}+\frac {x^2}{e}} \, dx,x,\sqrt {d+e x}\right )}{15 e^4} \\ & = -\frac {32 b d^2 n \sqrt {d+e x}}{15 e^3}+\frac {28 b d n (d+e x)^{3/2}}{45 e^3}-\frac {4 b n (d+e x)^{5/2}}{25 e^3}+\frac {32 b d^{5/2} n \tanh ^{-1}\left (\frac {\sqrt {d+e x}}{\sqrt {d}}\right )}{15 e^3}+\frac {2 d^2 \sqrt {d+e x} \left (a+b \log \left (c x^n\right )\right )}{e^3}-\frac {4 d (d+e x)^{3/2} \left (a+b \log \left (c x^n\right )\right )}{3 e^3}+\frac {2 (d+e x)^{5/2} \left (a+b \log \left (c x^n\right )\right )}{5 e^3} \\ \end{align*}
Time = 0.12 (sec) , antiderivative size = 118, normalized size of antiderivative = 0.70 \[ \int \frac {x^2 \left (a+b \log \left (c x^n\right )\right )}{\sqrt {d+e x}} \, dx=\frac {480 b d^{5/2} n \text {arctanh}\left (\frac {\sqrt {d+e x}}{\sqrt {d}}\right )+2 \sqrt {d+e x} \left (15 a \left (8 d^2-4 d e x+3 e^2 x^2\right )-2 b n \left (94 d^2-17 d e x+9 e^2 x^2\right )+15 b \left (8 d^2-4 d e x+3 e^2 x^2\right ) \log \left (c x^n\right )\right )}{225 e^3} \]
[In]
[Out]
\[\int \frac {x^{2} \left (a +b \ln \left (c \,x^{n}\right )\right )}{\sqrt {e x +d}}d x\]
[In]
[Out]
none
Time = 0.36 (sec) , antiderivative size = 296, normalized size of antiderivative = 1.75 \[ \int \frac {x^2 \left (a+b \log \left (c x^n\right )\right )}{\sqrt {d+e x}} \, dx=\left [\frac {2 \, {\left (120 \, b d^{\frac {5}{2}} n \log \left (\frac {e x + 2 \, \sqrt {e x + d} \sqrt {d} + 2 \, d}{x}\right ) - {\left (188 \, b d^{2} n - 120 \, a d^{2} + 9 \, {\left (2 \, b e^{2} n - 5 \, a e^{2}\right )} x^{2} - 2 \, {\left (17 \, b d e n - 30 \, a d e\right )} x - 15 \, {\left (3 \, b e^{2} x^{2} - 4 \, b d e x + 8 \, b d^{2}\right )} \log \left (c\right ) - 15 \, {\left (3 \, b e^{2} n x^{2} - 4 \, b d e n x + 8 \, b d^{2} n\right )} \log \left (x\right )\right )} \sqrt {e x + d}\right )}}{225 \, e^{3}}, -\frac {2 \, {\left (240 \, b \sqrt {-d} d^{2} n \arctan \left (\frac {\sqrt {e x + d} \sqrt {-d}}{d}\right ) + {\left (188 \, b d^{2} n - 120 \, a d^{2} + 9 \, {\left (2 \, b e^{2} n - 5 \, a e^{2}\right )} x^{2} - 2 \, {\left (17 \, b d e n - 30 \, a d e\right )} x - 15 \, {\left (3 \, b e^{2} x^{2} - 4 \, b d e x + 8 \, b d^{2}\right )} \log \left (c\right ) - 15 \, {\left (3 \, b e^{2} n x^{2} - 4 \, b d e n x + 8 \, b d^{2} n\right )} \log \left (x\right )\right )} \sqrt {e x + d}\right )}}{225 \, e^{3}}\right ] \]
[In]
[Out]
Time = 42.28 (sec) , antiderivative size = 337, normalized size of antiderivative = 1.99 \[ \int \frac {x^2 \left (a+b \log \left (c x^n\right )\right )}{\sqrt {d+e x}} \, dx=a \left (\begin {cases} \frac {2 d^{2} \sqrt {d + e x}}{e^{3}} - \frac {4 d \left (d + e x\right )^{\frac {3}{2}}}{3 e^{3}} + \frac {2 \left (d + e x\right )^{\frac {5}{2}}}{5 e^{3}} & \text {for}\: e \neq 0 \\\frac {x^{3}}{3 \sqrt {d}} & \text {otherwise} \end {cases}\right ) - b n \left (\begin {cases} - \frac {524 d^{\frac {5}{2}} \sqrt {1 + \frac {e x}{d}}}{225 e^{3}} - \frac {14 d^{\frac {5}{2}} \log {\left (\frac {e x}{d} \right )}}{15 e^{3}} + \frac {28 d^{\frac {5}{2}} \log {\left (\sqrt {1 + \frac {e x}{d}} + 1 \right )}}{15 e^{3}} - \frac {4 d^{\frac {5}{2}} \operatorname {asinh}{\left (\frac {\sqrt {d}}{\sqrt {e} \sqrt {x}} \right )}}{e^{3}} - \frac {68 d^{\frac {3}{2}} x \sqrt {1 + \frac {e x}{d}}}{225 e^{2}} + \frac {4 \sqrt {d} x^{2} \sqrt {1 + \frac {e x}{d}}}{25 e} + \frac {4 d^{3}}{e^{\frac {7}{2}} \sqrt {x} \sqrt {\frac {d}{e x} + 1}} + \frac {4 d^{2} \sqrt {x}}{e^{\frac {5}{2}} \sqrt {\frac {d}{e x} + 1}} & \text {for}\: e > -\infty \wedge e < \infty \wedge e \neq 0 \\\frac {x^{3}}{9 \sqrt {d}} & \text {otherwise} \end {cases}\right ) + b \left (\begin {cases} \frac {2 d^{2} \sqrt {d + e x}}{e^{3}} - \frac {4 d \left (d + e x\right )^{\frac {3}{2}}}{3 e^{3}} + \frac {2 \left (d + e x\right )^{\frac {5}{2}}}{5 e^{3}} & \text {for}\: e \neq 0 \\\frac {x^{3}}{3 \sqrt {d}} & \text {otherwise} \end {cases}\right ) \log {\left (c x^{n} \right )} \]
[In]
[Out]
none
Time = 0.27 (sec) , antiderivative size = 172, normalized size of antiderivative = 1.02 \[ \int \frac {x^2 \left (a+b \log \left (c x^n\right )\right )}{\sqrt {d+e x}} \, dx=-\frac {4}{225} \, b n {\left (\frac {60 \, d^{\frac {5}{2}} \log \left (\frac {\sqrt {e x + d} - \sqrt {d}}{\sqrt {e x + d} + \sqrt {d}}\right )}{e^{3}} + \frac {9 \, {\left (e x + d\right )}^{\frac {5}{2}} - 35 \, {\left (e x + d\right )}^{\frac {3}{2}} d + 120 \, \sqrt {e x + d} d^{2}}{e^{3}}\right )} + \frac {2}{15} \, b {\left (\frac {3 \, {\left (e x + d\right )}^{\frac {5}{2}}}{e^{3}} - \frac {10 \, {\left (e x + d\right )}^{\frac {3}{2}} d}{e^{3}} + \frac {15 \, \sqrt {e x + d} d^{2}}{e^{3}}\right )} \log \left (c x^{n}\right ) + \frac {2}{15} \, a {\left (\frac {3 \, {\left (e x + d\right )}^{\frac {5}{2}}}{e^{3}} - \frac {10 \, {\left (e x + d\right )}^{\frac {3}{2}} d}{e^{3}} + \frac {15 \, \sqrt {e x + d} d^{2}}{e^{3}}\right )} \]
[In]
[Out]
none
Time = 0.39 (sec) , antiderivative size = 192, normalized size of antiderivative = 1.14 \[ \int \frac {x^2 \left (a+b \log \left (c x^n\right )\right )}{\sqrt {d+e x}} \, dx=-\frac {32 \, b d^{3} n \arctan \left (\frac {\sqrt {e x + d}}{\sqrt {-d}}\right )}{15 \, \sqrt {-d} e^{3}} + \frac {2}{15} \, {\left (\frac {3 \, {\left (e x + d\right )}^{\frac {5}{2}} b n}{e^{3}} - \frac {10 \, {\left (e x + d\right )}^{\frac {3}{2}} b d n}{e^{3}} + \frac {15 \, \sqrt {e x + d} b d^{2} n}{e^{3}}\right )} \log \left (e x\right ) - \frac {2 \, {\left (5 \, b n \log \left (e\right ) + 2 \, b n - 5 \, b \log \left (c\right ) - 5 \, a\right )} {\left (e x + d\right )}^{\frac {5}{2}}}{25 \, e^{3}} + \frac {4 \, {\left (15 \, b d n \log \left (e\right ) + 7 \, b d n - 15 \, b d \log \left (c\right ) - 15 \, a d\right )} {\left (e x + d\right )}^{\frac {3}{2}}}{45 \, e^{3}} - \frac {2 \, {\left (15 \, b d^{2} n \log \left (e\right ) + 16 \, b d^{2} n - 15 \, b d^{2} \log \left (c\right ) - 15 \, a d^{2}\right )} \sqrt {e x + d}}{15 \, e^{3}} \]
[In]
[Out]
Timed out. \[ \int \frac {x^2 \left (a+b \log \left (c x^n\right )\right )}{\sqrt {d+e x}} \, dx=\int \frac {x^2\,\left (a+b\,\ln \left (c\,x^n\right )\right )}{\sqrt {d+e\,x}} \,d x \]
[In]
[Out]